/tmp/ipykernel_3217652/3841419929.py:1: DeprecationWarning: Shapely 2.0 is installed, but because PyGEOS is also installed, GeoPandas still uses PyGEOS by default. However, starting with version 0.14, the default will switch to Shapely. To force to use Shapely 2.0 now, you can either uninstall PyGEOS or set the environment variable USE_PYGEOS=0. You can do this before starting the Python process, or in your code before importing geopandas:
import os
os.environ['USE_PYGEOS'] = '0'
import geopandas
In the next release, GeoPandas will switch to using Shapely by default, even if PyGEOS is installed. If you only have PyGEOS installed to get speed-ups, this switch should be smooth. However, if you are using PyGEOS directly (calling PyGEOS functions on geometries from GeoPandas), this will then stop working and you are encouraged to migrate from PyGEOS to Shapely 2.0 (https://shapely.readthedocs.io/en/latest/migration_pygeos.html).
import geopandas as gpd
count 55630.000000
mean 0.359840
std 0.437537
min 0.000000
25% 0.000000
50% 0.000000
75% 0.970588
max 1.000000
Name: pct_in, dtype: float64
blocks.explore()
blocks.pop1000.sum()/blocks.pop_orig.sum() *100
58.555530005219566
Fifty-nine perrcent of the population residing in tracts that intersect the 1000 foot freeway buffer are estimated to reside inside 1000 feet of the freeway.